mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-22 16:18:32 +00:00
getDefaultData -> getDefaultState
This commit is contained in:
@@ -12,7 +12,7 @@ import com.dfsek.terra.api.block.state.BlockState;
|
|||||||
|
|
||||||
|
|
||||||
public interface BlockType extends Handle {
|
public interface BlockType extends Handle {
|
||||||
BlockState getDefaultData();
|
BlockState getDefaultState();
|
||||||
|
|
||||||
boolean isSolid();
|
boolean isSolid();
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ public class BukkitBlockTypeAndItem implements BlockType, Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlockState getDefaultData() {
|
public BlockState getDefaultState() {
|
||||||
return BukkitAdapter.adapt(delegate.createBlockData());
|
return BukkitAdapter.adapt(delegate.createBlockData());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class SpongeBlockType implements BlockType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlockState getDefaultData() {
|
public BlockState getDefaultState() {
|
||||||
return new SpongeBlockState(delegate.defaultState());
|
return new SpongeBlockState(delegate.defaultState());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user