#1844 Fix WAILA plugin world wrapper not properly handling isRemote

This commit is contained in:
tterrag1098 committed 2015-02-04 21:43:00 -05:00
1 parent 0b42a1240d
commit 21c3613260
1 file changed
+2 -1
@@ -53,8 +53,9 @@ public class WailaCompat implements IWailaDataProvider {
private WailaWorldWrapper(World wrapped) {
super(wrapped.getSaveHandler(), wrapped.getWorldInfo().getWorldName(), wrapped.provider, new WorldSettings(wrapped.getWorldInfo()), wrapped.theProfiler);
this.wrapped = wrapped;
this.isRemote = wrapped.isRemote;
}
@Override
public Block getBlock(int x, int y, int z) {
Block block = wrapped.getBlock(x, y, z);