beta-0.14.6

This commit is contained in:
sainagh
2023-07-31 14:55:15 -07:00
parent 8052c02679
commit 92e3a04cb4
1242 changed files with 248295 additions and 12753 deletions
+28 -1
View File
@@ -65,4 +65,31 @@ finemwarper.itemRightClick = function(stack, world, player, hand) {
Commands.call("cofh tpx @p 185", player, world, true, true);
return "Pass";
};
finemwarper.register();
finemwarper.register();
var imstuckgetmehome = VanillaFactory.createItem("imstuck_getmehome");
imstuckgetmehome.maxStackSize = 1;
imstuckgetmehome.glowing = true;
imstuckgetmehome.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
if(player.getDimension() != 684) {
if(player.getDimension() != 685) {
if(player.getDimension() != 686) {
if(player.getDimension() != 687) {
if(player.getDimension() != 66) {
player.sendChat("This will get you unstuck from a dimensional door, the erebus, and the limbo");
return "FAIL";
}
}
}
}
}
Commands.call("cofh tpx @p 0", player, world, true, true);
return "Pass";
};
imstuckgetmehome.register();