1.18.x Omnibus (#8239)

This commit is contained in:
sciwhiz12 authored and GitHub committed 2022-03-01 18:59:37 +00:00
1 parent 4011c3fb07
commit 34291c1fb2
89 files changed
+1014 -1192

No files matched your search

@@ -76,10 +76,10 @@ import java.util.UUID;
//Preliminary, simple Fake Player class
public class FakePlayer extends ServerPlayer
{
public FakePlayer(ServerLevel world, GameProfile name)
public FakePlayer(ServerLevel level, GameProfile name)
{
super(world.getServer(), world, name);
this.connection = new FakePlayerNetHandler(world.getServer(), this);
super(level.getServer(), level, name);
this.connection = new FakePlayerNetHandler(level.getServer(), this);
}
@Override public Vec3 position(){ return new Vec3(0, 0, 0); }
@@ -54,7 +54,8 @@ public class TablePrinter<T>
return this;
}
public TablePrinter<T> add(T row, @SuppressWarnings("unchecked") T... more)
@SuppressWarnings("unchecked")
public TablePrinter<T> add(T row, T... more)
{
add(row);
for (T t : more)