Civcraft / PrisonPearl

Minecraft plugin for civcraft which allows players to imprison other players inside ender pearls
BSD 3-Clause "New" or "Revised" License
4 stars 16 forks source link

Fix for null pointer exception during save routine #78

Closed ProgrammerDan closed 8 years ago

ProgrammerDan commented 8 years ago

Inverted logic, if mysql is disabled was sending null file pointer to save routine, should only do that if mysql is enabled.

CivcraftBot commented 8 years ago

Can one of the admins verify this patch? Type 'ok to test' to test.

ProgrammerDan commented 8 years ago

ok to test

ProgrammerDan commented 8 years ago

ok to test

ProgrammerDan commented 8 years ago

@rourke750 look okay? This should fix that problem, there might be some extra admin work to correct pearls if saves truly weren't happening.

rourke750 commented 8 years ago

Yea merge it.

ProgrammerDan commented 8 years ago

@ttk2 fix for email issue.

ProgrammerDan commented 8 years ago

Confirmed on Devoted this solves the issue, /ppsave no longer throws a stack, and file data is saved (confirmed via file timestamp on disk)

ttk2 commented 8 years ago

staged