Cleaned up CraftBukkit comments in NMS.
Added newlines at the end of files Fixed improper line endings on some files Matched start - end comments Added some missing comments for diffs Fixed syntax on some spots Minimized some diff Removed some no longer used files Added comment on some required files with no changes Fixed imports of items used once Added imports for items used more than once
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
// CraftBukkit start
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.bukkit.craftbukkit.entity.CraftHumanEntity;
|
||||
import org.bukkit.entity.HumanEntity;
|
||||
import org.bukkit.inventory.InventoryHolder;
|
||||
// CraftBukkit end
|
||||
|
||||
public class InventoryLargeChest implements IInventory {
|
||||
@@ -16,7 +14,7 @@ public class InventoryLargeChest implements IInventory {
|
||||
public IInventory right; // CraftBukkit - private -> public
|
||||
|
||||
// CraftBukkit start
|
||||
public List<HumanEntity> transaction = new ArrayList<HumanEntity>();
|
||||
public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>();
|
||||
|
||||
public ItemStack[] getContents() {
|
||||
ItemStack[] result = new ItemStack[this.getSize()];
|
||||
@@ -42,7 +40,7 @@ public class InventoryLargeChest implements IInventory {
|
||||
return transaction;
|
||||
}
|
||||
|
||||
public InventoryHolder getOwner() {
|
||||
public org.bukkit.inventory.InventoryHolder getOwner() {
|
||||
return null; // This method won't be called since CraftInventoryDoubleChest doesn't defer to here
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user