mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-02 16:05:29 +00:00
getDefaultData -> getDefaultState
This commit is contained in:
parent
27d12efb31
commit
e5eaba9150
@ -12,7 +12,7 @@ import com.dfsek.terra.api.block.state.BlockState;
|
||||
|
||||
|
||||
public interface BlockType extends Handle {
|
||||
BlockState getDefaultData();
|
||||
BlockState getDefaultState();
|
||||
|
||||
boolean isSolid();
|
||||
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user