Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
matsu1213 committed Jun 21, 2024
1 parent 14cec8c commit fbed05a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void onShoot(WeaponShootEvent e){
Class<Entity> clazz = Entity.class;
Field f = clazz.getDeclaredField("size");
f.setAccessible(true);
f.set(pj, new EntitySize((float) data.projectileSizeXZ, (float) data.projectileSizeY, false));
f.set(pj, new EntitySize((float) data.projectileSizeXZ - 1.0f, (float) data.projectileSizeY - 1.0f, false));
pj.setPosition(pj.locX(), pj.locY(), pj.locZ());
}catch (Exception ex){
ex.printStackTrace();
Expand Down

0 comments on commit fbed05a

Please sign in to comment.