mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-13 15:08:35 +00:00
Cleaned up a lot of code and introduced Kotlin to the project
This commit is contained in:
@ -151,7 +151,7 @@ public interface Extent extends InputExtent, OutputExtent {
|
||||
* @param z the z coordinate
|
||||
* @param uuid the unique identifier of the entity
|
||||
*/
|
||||
default @Nullable void removeEntity(int x, int y, int z, UUID uuid) {}
|
||||
default void removeEntity(int x, int y, int z, UUID uuid) {}
|
||||
|
||||
/*
|
||||
Queue based methods
|
||||
|
@ -60,7 +60,7 @@ public interface OutputExtent {
|
||||
}
|
||||
|
||||
// The defaults need to remain for compatibility (the actual implementation still needs to override one of these)
|
||||
default <T extends BlockStateHolder<T>> boolean setBlock(int x, int y, int z, T block) throws WorldEditException {
|
||||
default <B extends BlockStateHolder<B>> boolean setBlock(int x, int y, int z, B block) throws WorldEditException {
|
||||
return setBlock(MutableBlockVector3.get(x, y, z), block);
|
||||
}
|
||||
|
||||
|
@ -210,7 +210,6 @@ public class BlockArrayClipboard extends DelegateClipboard implements Clipboard,
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public void removeEntity(int x, int y, int z, UUID uuid) {
|
||||
x -= offset.getX();
|
||||
y -= offset.getY();
|
||||
|
Reference in New Issue
Block a user