ZotCoreLoader
- удалён BlockDestroyStarted(клиентский) - добавлены библиотеки android из тулчена
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -36,8 +36,8 @@ public class EventListener implements Listener {
|
||||
|
||||
if(event.getAction() == PlayerInteractEvent.Action.RIGHT_CLICK_BLOCK)
|
||||
preventedCallback(event, () -> NativeCallback.onItemUsed((int) block.x, (int) block.y, (int) block.z, event.getFace().getIndex(), (float) pos.x, (float) pos.y, (float) pos.z, true, player.getHealth() > 0, player.getId()));
|
||||
else if(action == PlayerInteractEvent.Action.LEFT_CLICK_BLOCK)
|
||||
preventedCallback(event, () -> NativeCallback._onBlockDestroyStarted((int) block.x, (int) block.y, (int) block.z, event.getFace().getIndex(), player.getId()));
|
||||
// else if(action == PlayerInteractEvent.Action.LEFT_CLICK_BLOCK)
|
||||
// preventedCallback(event, () -> NativeCallback._onBlockDestroyStarted((int) block.x, (int) block.y, (int) block.z, event.getFace().getIndex(), player.getId()));
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ import it.unimi.dsi.fastutil.ints.Int2IntMap;
|
||||
import it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap;
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONObject;
|
||||
import android.animation.ValueAnimator;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.*;
|
||||
|
||||
Reference in New Issue
Block a user