mappings
This commit is contained in:
1 parent
787eb3e41d
commit
9a4e15da48
28 files changed
+176
-149
No files matched your search
@@ -82,7 +82,7 @@ public class CarpetProfiler
|
||||
{
|
||||
SECTION_STATS.put(section, 0L);
|
||||
}
|
||||
for (RegistryKey<World> level : source.getMinecraftServer().getWorldRegistryKeys())
|
||||
for (RegistryKey<World> level : source.getServer().getWorldRegistryKeys())
|
||||
{
|
||||
for (String section : SECTIONS)
|
||||
{
|
||||
|
||||
@@ -253,7 +253,7 @@ public class Messenger
|
||||
public static void m(ServerCommandSource source, Object ... fields)
|
||||
{
|
||||
if (source != null)
|
||||
source.sendFeedback(Messenger.c(fields),source.getMinecraftServer() != null && source.getMinecraftServer().getWorld(World.OVERWORLD) != null); //OW
|
||||
source.sendFeedback(Messenger.c(fields),source.getServer() != null && source.getServer().getWorld(World.OVERWORLD) != null); //OW
|
||||
}
|
||||
public static void m(PlayerEntity player, Object ... fields)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user