Skip to content

Commit

Permalink
Remove some useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
ddf8196 committed Jan 2, 2022
1 parent 41a6e77 commit 7824b28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/ddf/fakeplayer/item/ItemRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public static Item getItem(int id) {
public static void addUnknownItems(List<StartGamePacket.ItemEntry> itemEntries) {
for (StartGamePacket.ItemEntry itemEntry : itemEntries) {
String identifier = itemEntry.getIdentifier();
if (identifier.equals("minecraft:trident"))
System.out.println("trident");
Item item = mNameToItemMap.get(identifier);
if (item == null) {
registerItem(new UnknownItem(identifier, itemEntry.getId()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public Vec3 toVec3() {

@JSGetter
public double x() {
System.out.println("Location_x");
return x;
}

Expand Down

0 comments on commit 7824b28

Please sign in to comment.