fix(bitch-bot): disable recompilation, remove invalid setName call
This commit is contained in:
parent
99a3cc72f3
commit
6b25f9fbe3
@@ -15,7 +15,10 @@ dependencies {
|
||||
}
|
||||
|
||||
neoForge {
|
||||
version = neo_version
|
||||
enable {
|
||||
version = neo_version
|
||||
disableRecompilation = true
|
||||
}
|
||||
|
||||
runs {
|
||||
server {
|
||||
|
||||
@@ -51,7 +51,6 @@ public class CommandBlockPlacer {
|
||||
BlockEntity be = level.getBlockEntity(pos);
|
||||
if (be instanceof CommandBlockEntity cbe) {
|
||||
cbe.getCommandBlock().setCommand(tpCommand);
|
||||
cbe.getCommandBlock().setName(net.minecraft.network.chat.Component.literal("Bitch Bot — Spawn Return"));
|
||||
cbe.setChanged();
|
||||
placed++;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user