mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-27 06:20:05 +00:00
getDefaultData -> getDefaultState
This commit is contained in:
1 parent
27d12efb31
commit
e5eaba9150
3 files changed
+3
-3
No files matched your search
@@ -12,7 +12,7 @@ import com.dfsek.terra.api.block.state.BlockState;
|
||||
|
||||
|
||||
public interface BlockType extends Handle {
|
||||
BlockState getDefaultData();
|
||||
BlockState getDefaultState();
|
||||
|
||||
boolean isSolid();
|
||||
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ public class BukkitBlockTypeAndItem implements BlockType, Item {
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockState getDefaultData() {
|
||||
public BlockState getDefaultState() {
|
||||
return BukkitAdapter.adapt(delegate.createBlockData());
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public class SpongeBlockType implements BlockType {
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockState getDefaultData() {
|
||||
public BlockState getDefaultState() {
|
||||
return new SpongeBlockState(delegate.defaultState());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user