mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 04:22:32 +00:00
Fix #1180 Punching Greenhouse Glass crash
This commit is contained in:
1 parent
2ec6601383
commit
5188b5a3f6
1 file changed
+3
@@ -59,6 +59,9 @@ public class CamouflageUtil {
|
||||
}
|
||||
|
||||
public static ICamouflageHandler getCamouflageHandler(IBlockAccess world, BlockPos pos){
|
||||
if(pos == null){
|
||||
return null;
|
||||
}
|
||||
TileEntity tile = world.getTileEntity(pos);
|
||||
|
||||
if(tile instanceof IMultiblockComponent){
|
||||
|
||||
Reference in new issue
Block a user