mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 00:35:06 +00:00
Fixed executeCommand() function for scripting API.
This commit is contained in:
1 parent
b15f5221fd
commit
8b710ed520
3 files changed
+7
-4
No files matched your search
@@ -2,6 +2,7 @@ package noppes.npcs.scripted.interfaces;
|
||||
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.WorldServer;
|
||||
import noppes.npcs.scripted.*;
|
||||
import noppes.npcs.scripted.entity.ScriptEntity;
|
||||
import noppes.npcs.scripted.entity.ScriptPlayer;
|
||||
@@ -208,5 +209,5 @@ public interface IWorld {
|
||||
* Expert use only
|
||||
* @return Returns minecraft world object
|
||||
*/
|
||||
public World getMCWorld();
|
||||
public WorldServer getMCWorld();
|
||||
}
|
||||
Reference in new issue
Block a user