mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2024-11-14 22:56:27 +01:00
Update AbstractStorage.java
This commit is contained in:
parent
251d02e324
commit
2a7d73c839
@ -1,6 +1,7 @@
|
||||
package com.jamesdpeters.minecraft.chests.storage.abstracts;
|
||||
|
||||
import com.jamesdpeters.minecraft.chests.ChestsPlusPlus;
|
||||
import com.jamesdpeters.minecraft.chests.api_interfaces.ApiSpecific;
|
||||
import com.jamesdpeters.minecraft.chests.misc.Permissions;
|
||||
import com.jamesdpeters.minecraft.chests.misc.Utils;
|
||||
import com.jamesdpeters.minecraft.chests.misc.Values;
|
||||
@ -328,7 +329,7 @@ public abstract class AbstractStorage implements ConfigurationSerializable {
|
||||
ItemStack displayItem = getArmorStandItem();
|
||||
|
||||
if(displayItem != null) {
|
||||
boolean isBlock = Utils.isGraphicallyBlock(displayItem);
|
||||
boolean isBlock = !ApiSpecific.getMaterialChecker().isGraphically2D(displayItem);
|
||||
|
||||
Location standLoc = getArmorStandLoc(anchor,facing, isBlock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user