mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-25 07:01:20 -09:00
Fixes
This commit is contained in:
parent
d6887c3054
commit
8e6effb0d6
@ -17,8 +17,9 @@
|
|||||||
|
|
||||||
// Get the EntityPlayerMP class to spawn the fake player
|
// Get the EntityPlayerMP class to spawn the fake player
|
||||||
const EntityPlayerMPClass = ModAPI.reflect.getClassById("net.minecraft.entity.player.EntityPlayerMP");
|
const EntityPlayerMPClass = ModAPI.reflect.getClassById("net.minecraft.entity.player.EntityPlayerMP");
|
||||||
|
console.log(ModAPI.server.getConfigurationManager());
|
||||||
const fakePlayer = EntityPlayerMPClass.constructors[0](
|
const fakePlayer = EntityPlayerMPClass.constructors[0](
|
||||||
world.getMinecraftServer(), world.getRef(), fakeProfile, playerInteractionManager
|
ModAPI.server.getRef(), world.getRef(), fakeProfile, playerInteractionManager
|
||||||
);
|
);
|
||||||
|
|
||||||
// Set the fake player position to be near the command sender
|
// Set the fake player position to be near the command sender
|
||||||
|
@ -48,7 +48,7 @@ span.working summary span {
|
|||||||
background-color: rgb(255, 102, 0);
|
background-color: rgb(255, 102, 0);
|
||||||
}
|
}
|
||||||
span.done summary span {
|
span.done summary span {
|
||||||
background-color: greenyellow;
|
background-color: lime;
|
||||||
}
|
}
|
||||||
#todolist {
|
#todolist {
|
||||||
width: calc(50vw - 0.6rem);
|
width: calc(50vw - 0.6rem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user