mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Fix at least one known instance of #3140
This commit is contained in:
1 parent
a35da8e163
commit
e49f51a3e1
1 file changed
+1
-1
@@ -125,7 +125,7 @@ public class TileEntitySpecialFlower extends TileEntity implements ITickableTile
|
||||
@Override
|
||||
public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) {
|
||||
if(cap == BotaniaAPI.FLOATING_FLOWER_CAP) {
|
||||
if(hasWorld() && getWorld().getBlockState(getPos()).isIn(ModTags.Blocks.SPECIAL_FLOATING_FLOWERS)) {
|
||||
if(hasWorld() && getBlockState().isIn(ModTags.Blocks.SPECIAL_FLOATING_FLOWERS)) {
|
||||
return floatingDataCap.cast();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user