mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-11-18 03:15:29 +00:00
Merge remote-tracking branch 'origin/feature/channel-desc' into dev
# Conflicts: # src/main/java/com/gtnewhorizon/structurelib/StructureLib.java # src/main/java/com/gtnewhorizon/structurelib/structure/IStructureDefinition.java # src/main/resources/assets/structurelib/lang/en_US.lang
This commit is contained in:
15 files changed
+809
-157
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package com.gtnewhorizon.structurelib.gui;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
|
||||
public class EmptyContainer extends Container {
|
||||
|
||||
private final EntityPlayer player;
|
||||
|
||||
public EmptyContainer(EntityPlayer player) {
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return player == this.player;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user